package cn.pconline.autoclub.entity;

import java.util.Date;

import org.gelivable.dao.Column;
import org.gelivable.dao.Entity;
import org.gelivable.dao.Id;

/**
 *
 * @author wanganning
 */
@Entity(tableName = "ac_member_checkin_record", split="Date:createAt:m")
public class CheckInRecord {

    @Id
    @Column(name = "id")
    private long id;
    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private long uid;
    /**
     * 车友会ID
     */
    @Column(name = "club_id")
    private long clubId;
    /**
     * 签到时间
     */
    @Column(name = "create_at")
    private Date createAt;
    /**
     * 签到IP
     */
    @Column(name = "ip")
    private String ip;
    /**
     * 签到贡献油值
     */
    @Column(name = "petrol")
    private int petrol;
    
    private int ymd;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getUid() {
        return uid;
    }

    public void setUid(long uid) {
        this.uid = uid;
    }

    public long getClubId() {
        return clubId;
    }

    public void setClubId(long clubId) {
        this.clubId = clubId;
    }

    public Date getCreateAt() {
        return createAt;
    }

    public void setCreateAt(Date createAt) {
        this.createAt = createAt;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

	public int getPetrol() {
		return petrol;
	}

	public void setPetrol(int petrol) {
		this.petrol = petrol;
	}
	
	public int getYmd() {
        return ymd;
    }

    public void setYmd(int ymd) {
        this.ymd = ymd;
    }
}
